﻿using QLNH.MyLayouts;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QLNH.MyForms
{
    public class FormUC : UserControl
    {
        protected LayoutUC _mainLayout;

        protected FormKey _formKey;
        public FormKey Formkey
        {
            get { return _formKey; }
            set { _formKey = value; }
        }

        private string _formName;
        public string FormName
        {
            get { return _formName; }
            set { _formName = value; }
        }

        private int _index;

        public int Index
        {
            get { return _index; }
            set { _index = value; }
        }

        virtual public void Resize(Size size)
        {
            this.Size = size;
        }
    }
}
